package ua.com.cms.entities;

import com.google.code.morphia.annotations.Entity;
import com.google.code.morphia.annotations.Id;
import org.bson.types.ObjectId;

import java.util.List;

@Entity(noClassnameStored = true)
public class Template {
    @Id
    private ObjectId id;

    private String name;
    private String path;
    private String html;

    private List<ObjectId> slots;

    public ObjectId getId() {
        return id;
    }

    public void setId(ObjectId id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }

    public String getHtml() {
        return html;
    }

    public void setHtml(String html) {
        this.html = html;
    }

    public List<ObjectId> getSlots() {
        return slots;
    }

    public void setSlots(List<ObjectId> slots) {
        this.slots = slots;
    }
}
